<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改事件')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-icEvent-edit" th:object="${icEvent}">
            <input name="eId" th:field="*{eId}" type="hidden">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">标题：</label>
                    <div class="col-sm-8">
                        <textarea name="eTitle" class="form-control" required>[[*{eTitle}]]</textarea>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">时间描述：</label>
                    <div class="col-sm-8">
                        <input name="eTime" th:field="*{eTime}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">地点：</label>
                    <div class="col-sm-8">
                        <input name="eLocation" th:field="*{eLocation}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">申请人编号：</label>
                    <div class="col-sm-8">
                        <input name="iuId" th:field="*{iuId}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">审核：</label>
                    <div class="col-sm-8">
                        <input name="eAudit" th:field="*{eAudit}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">进程(1上报，2受理，3分配，4办理，5反馈，6结案)：</label>
                    <div class="col-sm-8">
                        <input name="eProcess" th:field="*{eProcess}" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/icEvent";
        $("#form-icEvent-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-icEvent-edit').serialize());
            }
        }
    </script>
</body>
</html>